﻿using System;
using System.Linq;
using System.Windows.Controls;
using Microsoft.Practices.Unity;
using Mipic.Modules.Interactions.ViewModels;

namespace Mipic.Modules.Interactions.Views
{
    /// <summary>
    /// Interaction logic for ConfigurationView.xaml
    /// </summary>
    public partial class ConfigurationView : UserControl
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="ConfigurationView" /> class.
        /// </summary>
        public ConfigurationView()
        {
            InitializeComponent();
        }

        /// <summary>
        /// Gets or sets the view model.
        /// </summary>
        /// <value>The view model.</value>
        [Dependency]
        public ConfigurationViewModel ViewModel
        {
        	get
        	{
                return this.DataContext as ConfigurationViewModel;
        	}
            set
            {
                this.DataContext = value;
            }
        }
    }
}
